<?php
/**
 * 返回结果结构体
 * Created by PhpStorm.
 * User: zd
 * Date: 2019/4/8
 * Time: 09:47
 */

namespace app\common\Result;


class Result
{
    public $code;
    public $content;
    public $errMsg;

    function __construct()
    {
        $array = [$this->code,$this->content,$this->errMsg];
        return json_encode($array);
    }
}